module.exports = {
    success: {
        error: 0
    },
    serverErr: {
        error: 1,
        errmsg: 'Server have problems.'
    },
    passwordErr: {
        error: 1,
        errmsg: 'Wrong username or password.'
    },
    needLogin: {
        error: 1,
        errmsg: 'You need to login first.'
    },
    paraErr: {
        error: 1,
        errmsg: 'Lack parameter.'
    },
    nameExist: {
        error: 1,
        errmsg: 'Name is exist.'
    },
    fileErr: {
        error:1,
        errmsg: 'File has problem.'
    },
    fileNotExist: {
        error: 1,
        errmsg: 'File is not exist.'
    },
    fileHasExist: {
        error: 1,
        errmsg: 'File has been exist.'
    },
    torrentOutLimit: {
        error: 1,
        errmsg: 'Too many torrent are downloading.'
    },
    transcodeDisabled: {
        error: 1,
        errmsg: 'Transcoding function is not available.'
    }
};